<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@include file= "/WEB-INF/pages/base/commImportPage.jsp" %>
<head>
    <title>设置</title>
    <meta charset="utf-8">
    <!--[if lt IE 9]><script src="../../js/comm/css3-mediaqueries.js"></script><![endif]-->
    <link rel="stylesheet" type="text/css" href="${resourcePath}/css/guandaoqingli/pipe.css">
    <link rel="stylesheet" type="text/css" href="${resourcePath}/css/guandaoqingli/set.css">
    <script src=<c:url value ="/js/settings/settingsPagesJs.js"/>> </script>
    <script src=<c:url value ="/js/settings/base/basicSettingMgr.js"/>> </script>
    <script src=<c:url value ="/js/settings/base/insSeg.js"/>> </script>

     <style type="text/css">
     .edit0{display:inline-block;width:25px;height:25px;margin-right:5px;vertical-align:middle;background:url("${resourcePath}/images/comm/editt.png") no-repeat -2px -1px;}
	 .edit0:hover{border-radius:80px;background:url("${resourcePath}/images/comm/editt-hover.png") no-repeat center center;}
     
     .delet1{display:inline-block;width:25px;height:25px;margin-right:5px;vertical-align:middle;background:url("${resourcePath}/images/setting/delete.png") no-repeat center 8px;}
     .delet1:hover{border-radius:80px;background:url("${resourcePath}/images/setting/delete-active.png") #F95F5F no-repeat center center;}

     .sticky-wrap.overflow-y {
         overflow-y: auto;
         max-height: 170px;
     }

     </style>
</head>
<body class="body-pad" style="padding-bottom:100px">

<div class="container-fluid warp insp-container">
    <div class="row-fluid  bg-white1">
        <div class="main clearFix">
            <ul class="tab-li">
                <li menuCode="PIC_SYS_ORG" class="active">组织机构管理</li>
                <li menuCode="PIC_SYS_PRV">权限管理</li>
                <%--<li>阈值管理</li>--%>
                <li menuCode="PIC_SYS_PIPE">管道基础设置</li>
                
            </ul>
            <div class="sj-main">
                <div class="sj-0 clearFix " style="padding-top:40px">
                    <div class="new-tab clearFix">
                        <ul class="set-tab clearFix" id="baseSetting">
                            <li menuCode="PIC_SYS_PIPE_ZZCSLB" tabName="base_valveRoom" class="active">场站阀室列表</li>
                            <li menuCode="PIC_SYS_PIPE_LINE" tabName="base_pipeLine">管道列表</li>
                            <li menuCode="PIC_SYS_PIPE_GDLB" tabName="base_pipeSeg" onclick="initInspSeg()">管段列表</li>
                            <li menuCode="PIC_SYS_PIPE_JCGDLB" tabName="base_insSeg">检测管段列表</li>
                        </ul>
                    </div>
                    <div class="set-ck">
                        <!-- 场站阀室列表-->
                        <div class="set-t0">
                            <div class="se-bt clearFix" >
                                <div class="sel w160">
                                    <i class="d-name">场站阀室名称</i>
                                    <input class="input-w140" type="text" placeholder="输入场站阀室名称" id="VRfindName">
                                </div>
                                <div class="sel w160">
                                    <i class="d-name">场站阀室代号</i>
                                    <input class="input-w140" type="text" placeholder="输入场站阀室代号" id="VRfindNum">
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">任务状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160" id="VRfindDStatus">
                                                <a href="javascript:void(0);">--请选择任务状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id=""value="">--请选择任务状态--</a></li>
                                             <li><a href="javascript:void(0);" id="20" value="20">已发布</a></li>
                                            <li><a href="javascript:void(0);" id="03" value="03">未发布</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160" id="VRfindStatus">
                                                <a href="javascript:void(0);">--请选择状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id=""value="">--请选择状态--</a></li>
                                             <li><a href="javascript:void(0);" id="0"value="0">启用</a></li>
                                            <li><a href="javascript:void(0);" id="1" value="1">停用</a></li>
                                        </ul>
                                    </div>
                                </div>
                                 <a href="javascript:void(0);" onclick="findByVRConditions()" class="btn btn-w100 btn-search-icon btn-h30" style="float:left">查询</a>
                            </div>
                            <p class="tool pad20">
                                <a  href="#cz" onclick="initValueRoom()" data-toggle="modal" class="btn btn-w80 btn-add-icon1 btn-h30 AbtnRoom"><em></em>新建</a>
                                <a href="javascript:void(0);" class="btn-del-icon" id="delRoom"><em></em>删除</a>
                                <a href="javascript:void(0);" class="btn-public-icon" id="updRoomStated"><em></em>发布</a>
                                <a href="javascript:void(0);" class="btn-gb-icon" id="offRoom"><em></em>禁用</a>
                                <a href="javascript:void(0);" class="btn-qy-icon onRoom" id="onRoom"><em></em>启用</a>
                            </p>
                            <div class="l-r clearFix pad20">
                                <div class="left">
                                    <div class="info-header clearFix" id="basicVR">



                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- 管道列表-->
                        <div class="set-t0 none">
                            <div class="se-bt clearFix" >
                                <div class="sel w160">
                                    <i class="d-name">管道名称</i>
                                    <input class="input-w140" type="text"  id="lineFindName" placeholder="输入管道名称" >
                                </div>
                                <div class="sel w160">
                                    <i class="d-name">管道代号</i>
                                    <input class="input-w140" type="text" id="lineFindNum" placeholder="输入管道代号">
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">任务状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160" id="lineFindDataStatus">
                                               <a href="javascript:void(0);">--请选择任务状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id="" value="">--请选择任务状态--</a></li>
                                            <li><a href="javascript:void(0);" id="20" value="20">已发布</a></li>
                                            <li><a href="javascript:void(0);" id="03" value="03">未发布</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160"    id="lineFindStatus">
                                                <a href="javascript:void(0);">--请选择状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none"  style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id="" value="">--请选择状态--</a></li>
                                             <li><a href="javascript:void(0);" id="0" value="0">启用</a></li>
                                            <li><a href="javascript:void(0);" id="1" value="1">停用</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <a href="javascript:void(0)" onclick="findByLineConditions()" class="btn btn-w100 btn-search-icon btn-h30" style="float:left">查询</a>
                            </div>
                            <p class="tool pad20">
                                <a onclick="initInspSeg()"  href="#cz1" data-toggle="modal" class="btn btn-add-icon1 "><em></em>新建</a>
                                <a href="javascript:void(0);" class="btn-del-icon delLine" id="delLine"><em></em>删除</a>
                                <a href="javascript:void(0);" class="btn-public-icon updLineStated" id="updLineStated"><em></em>发布</a>
                                <a href="javascript:void(0);" class="btn-gb-icon offLine" id="offLine"><em></em>禁用</a>
                                <a href="javascript:void(0);" class="btn-qy-icon onLine" id="onLine"><em></em>启用</a>
                            </p>
                            <div class="l-r clearFix pad20">
                                <div class="left">
                                    <div class="info-header clearFix" id="basicLine">


                                </div>
                            </div>
                        </div>
                            </div>
                        <!-- 管段列表-->
                        <div class="set-t0 none">
                            <div class="se-bt clearFix" >
                                <div class="sel w160">
                                    <i class="d-name">管段名称</i>
                                    <input class="input-w140" type="text"  placeholder="输入管段名称" id ="FCsegmentName">
                                </div>
                                <div class="sel w160">
                                    <i class="d-name">管段代号</i>
                                    <input class="input-w140" type="text" placeholder="输入管段代号" id="FCsegmentNum">
                                </div>
                                <div class="sel w160">
                                   <i class="d-name">管道名称</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160"  id="FClineName" >
                                                 <a href="javascript:void(0);">--请选择管道--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;" id="FClineNameUl">
                                            <li><a href="javascript:void(0);">--请选择管道--</a></li>
                                            <c:forEach items="${requestScope.lineData}" var="lineData">
											<li ><a href="javascript:void(0);" id="${lineData.ID_}" >${lineData.NAME_}</a></li> 
											</c:forEach>
                                        </ul>
                                    </div>
                                </div>
                                <div style="clear:both"></div>
                                <div class="sel w200">
                                    <i class="d-name">任务状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160"  id ="FCSsta" >
                                                <a href="javascript:void(0);">--请选择任务状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id="" value="">--请选择任务状态--</a></li>
                                            <li><a href="javascript:void(0);" id="20" value="20">已发布</a></li>
                                            <li><a href="javascript:void(0);" id="03" value="03">未发布</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160" id="FCsta" >
                                               <a href="javascript:void(0);">--请选择状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id="" value="">--请选择状态--</a></li>
                                            <li><a href="javascript:void(0);" id="0" value="0">启用</a></li>
                                            <li><a href="javascript:void(0);" id="1" value="1">停用</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <a href="javascript:void(0)"  onclick="findBySegmentConditions()" class="btn btn-w100 btn-search-icon btn-h30" style="float:left">查询</a>
                            </div>
                            <p class="tool pad20">
                                <a  href="#cz2" data-toggle="modal" onclick="xgbjgdbt()" class="btn btn-add-icon1"><em></em>新建</a>
                                <a href="javascript:void(0);" class="btn-del-icon delSegment" id="delSegment"><em></em>删除</a>
                                <a href="javascript:void(0);" class="btn-public-icon updSegmentStated" id="updSegmentStated"	><em></em>发布</a>
                                <a href="javascript:void(0);" class="btn-gb-icon"  id="offSegment"	><em></em>禁用</a>
                                <a href="javascript:void(0);" class="btn-qy-icon" id="onSegment"><em></em>启用</a>
                            </p>
                            <div class="l-r clearFix pad20">
                                <div class="left">
                                    <div class="info-header clearFix" id="basicSegment">


                                    </div>
                                </div>
                            </div>
                        </div>
                    <!-- <div class="set-ck"> -->
                        <!-- 检测管段列表-->
                        <div class="set-t0 none">
                            <div class="se-bt clearFix" >
                                <div class="sel w160">
                                    <i class="d-name">检测管段名称</i>
                                    <input class="input-w140" type="text" placeholder="请输入管道名称" id="FISCsegmentName">
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">任务状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160" id="findISSsta">
                                               <a href="javascript:void(0);">--请选择任务状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id="" value="">--请选择任务状态--</a></li>
                                             <li><a href="javascript:void(0);" id="20" value="20">已发布</a></li>
                                            <li><a href="javascript:void(0);" id="03" value="03">未发布</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <div class="sel w200">
                                    <i class="d-name">状态</i>
                                    <div class="dropdown-list">
                                        <div class="drop-list drop-list-min">
                                            <div class="checked w160" id="findISsta">
                                               <a href="javascript:void(0);">--请选择状态--</a>
                                            </div>
                                            <span class="down-span"></span>
                                        </div>
                                        <ul class="select select-min none" style="width:183px;z-index: 2147483647;">
                                            <li><a href="javascript:void(0);" id="" value="">--请选择状态--</a></li>
                                            <li><a href="javascript:void(0);" id="0" value="0">启用</a></li>
                                            <li><a href="javascript:void(0);" id="1" value="1">停用</a></li>
                                        </ul>
                                    </div>
                                </div>
                                <a href="javascript:void(0)" onclick="findByInspSegmentConditions()" class="btn btn-w100 btn-search-icon btn-h30" style="float:left">查询</a>
                            </div>
                            <p class="tool pad20">
                                <a  href="#add-jcgdlb" data-toggle="modal" class="btn btn-add-icon1 " id="saveInspSegment"><em></em>新建</a>
                                <a href="javascript:void(0)"  class="btn-del-icon" id="delInspSegment"><em></em>删除</a>
                                <a href="javascript:void(0)"  class="btn-public-icon" id="updInspStated"><em></em>发布</a>
                                <a href="javascript:void(0)"  class="btn-gb-icon" id="offInspSegment"><em></em>禁用</a>
                                <a href="javascript:void(0)"  class="btn-qy-icon" id="onInspSegment"><em></em>启用</a>
                            </p>
                            <div class="l-r clearFix pad20">
                                <div class="left">
                                    <div class="info-header clearFix" id="basicInspS">


                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--新建-场站阀室列表-->
<div id="cz" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width: 800px; height:450px; margin-left: -400px; top: 10%; display: none;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="VRclose"  ></button>
        <h3 class="PopupTitle" id="popupTitle" style="text-align:center">新建/编辑场站阀室</h3>
    </div>
    <div class="modal-body copy-tan" style="height: 300px;">
        <ul class="ul-title">
            <li>场站阀室名称 <span class="ts">*</span></li>
            <li>场站阀室代号<span class="ts">*</span></li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none">
                <div class="sel w410">
                    <input type="text" id="zcfsmc" placeholder="场站阀室名称" class="fsnotNull cleanVal" style="width:230px;margin-top:5px" maxlength="80">
                </div>
            </li>
            <li class="li1" style="border-bottom:none">
                <div class="sel w410">
                    <input type="text" id="zcfsdh"  placeholder="场站阀室代号" class="fsnotNull cleanVal"  style="width:230px;margin-top:5px" maxlength="15">
                </div>
            </li>
        </ul>
         <ul class="ul-title">
            <li>场站阀室类型 <span class="ts">*</span></li>
        </ul>
        <div style="clear:both"></div>
           <ul class="u-info">
            <li class="li1" style="border-bottom:none;">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list fsnotNull cleanVal" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="zcfslx" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width:230px;" id="zcfslxUL">
                            <c:forEach items="${requestScope.valveRoomType}" var="valveRoomType">
								<li><a href="javascript:void(0);" id="${valveRoomType.id}" >${valveRoomType.shortName}</a></li> 
							</c:forEach>
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="modal-footer" style="text-align:center">
        <button class="btn btn-w140 btn-save-icon btn-h40" id="addPieRoom"><em style="top:10px;left:35px"></em>确定</button>
    </div>
</div>
<!--新建-管道列表列表-->
<div id="cz1" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width: 800px; height:450px; margin-left: -400px; top: 10%; display: none;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="LineClose"></button>
        <h3 id="cz1Title" class="PopupTitle" style="text-align:center">新建/编辑管道</h3>
    </div>
    <div class="modal-body copy-tan" style="height: 300px">
        <ul class="ul-title">
            <li>管道名称 <span class="ts">*</span></li>
            <li>管道代号 <span class="ts">*</span></li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none">
                <div class="sel w410">
                    <input type="text" placeholder="管道名称" id="xzlineName" class="notNull cleanVal" style="width:230px;margin-top:5px" maxlength="80">
                </div>
            </li>
            <li class="li1" style="border-bottom:none">
                <div class="sel w410">
                    <input type="text" placeholder="管道代号" id="xzlineNum" class="notNull cleanVal" style="width:230px;margin-top:5px" maxlength="15">
                </div>
            </li>
        </ul>
        <ul class="ul-title">
            <li>起始场站阀室 <span class="ts">*</span></li>
            <li>终止场站阀室 <span class="ts">*</span></li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none;">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list notNull cleanVal" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="xzqszcfs" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul id="xzqszcfsLi" class="select select-min none" style="width: 230px;">
                            <c:forEach items="${requestScope.valveRoomData}" var="valveRoomData">
								<li<%--  onclick="getFromValveRoom('${valveRoomData.ID_}')" --%> ><a href="javascript:void(0);" id="${valveRoomData.ID_}" >${valveRoomData.NAME_}</a></li> 
							</c:forEach>
                        </ul>
                    </div>
                </div>
            </li>
            <li class="li1" style="border-bottom:none;margin-right:0">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list notNull cleanVal" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="xzzdzcfs" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul id="xzzdzcfsList" class="select select-min none" style="width: 230px;">
                             <c:forEach items="${requestScope.valveRoomData}" var="valveRoomData">
								<li <%-- onclick="getTromValveRoom('${valveRoomData.ID_}')"  --%>><a href="javascript:void(0);" id="${valveRoomData.ID_}" >${valveRoomData.NAME_}</a></li> 
							</c:forEach>
                        </ul>
                    </div>
                </div>
            </li>

        </ul>
    </div>
    <div class="modal-footer" style="text-align:center">
        <button class="btn btn-w140 btn-save-icon btn-h40" id="addPieLine"><em style="top:10px;left:35px"></em>确定</button>
    </div>
</div>
<!--新建-管段列表-->
<div id="cz2" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"  style="width: 800px; height:450px; margin-left: -400px; top: 10%; display: none;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true" id="segmentClose"></button>
        <h3 id="cz2Title" class="PopupTitle" style="text-align:center">新建/编辑管段</h3>
    </div>
    <div class="modal-body copy-tan" style="height: 300px">
        <ul class="ul-title">
            <li>管道名称 <span class="ts">*</span></li>
            <li>管段名称 <span class="ts">*</span></li>
            <li style="margin-right:0">管段代号 <span class="ts">*</span></li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none;">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list segNotNull cleanVal" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="xzSegmentLineData" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width: 230px;" id="xzSegmentLineDataUl">
                           <c:forEach items="${requestScope.lineData}" var="lineData">
								<li ><a href="javascript:void(0);" id="${lineData.ID_}" >${lineData.NAME_}</a></li> 
							</c:forEach>
                        </ul>
                    </div>
                </div>
            </li>
            <li class="li1" style="border-bottom:none">
                <div class="sel w410">
                    <input type="text" placeholder="管段名称" id="xzSegmentName" class="segNotNull cleanVal" style="width:230px;margin-top:5px" maxlength="80">
                </div>
            </li>
            <li class="li1" style="border-bottom:none;margin-right:0">
                <div class="sel w410">
                    <input type="text" placeholder="管段代号" id="xzSegmentNum"  class="segNotNull cleanVal" style="width:230px;margin-top:5px" maxlength="15">
                </div>
            </li>
        </ul>
        <div style="clear:both"></div>
        <ul class="ul-title">
            <li>起始场站阀室 <span class="ts">*</span></li>
            <li>终止场站阀室 <span class="ts">*</span></li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none;">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list segNotNull cleanVal" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="xzSegmentFVR" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width: 230px;" id="xzSegmentFVRUL">
                            <c:forEach items="${requestScope.valveRoomData}" var="valveRoomData">
								<li><a href="javascript:void(0);" id="${valveRoomData.ID_}" >${valveRoomData.NAME_}</a></li> 
							</c:forEach>
                        </ul>
                    </div>
                </div>
            </li>
            <li class="li1" style="border-bottom:none;margin-right:0">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list segNotNull cleanVal" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="xzSegmentTVR" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" style="width: 230px;" id="xzSegmentTVRUL">
                              <c:forEach items="${requestScope.valveRoomData}" var="valveRoomData">
								<li><a href="javascript:void(0);" id="${valveRoomData.ID_}" >${valveRoomData.NAME_}</a></li> 
							</c:forEach>
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="modal-footer" style="text-align:center">
        <button class="btn btn-w140 btn-save-icon btn-h40" id="addPieSegment"><em style="top:10px;left:35px"></em>确定</button>
    </div>
</div>
<!--新建-阀值管理-->
<div id="add-fz" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width: 800px; height:450px; margin-left: -400px; top: 10%; display: none;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
        <h3 class="PopupTitle" style="text-align:center">新建阈值信息</h3>
    </div>
    <div class="modal-body copy-tan" style="height:300px">
        <ul class="ul-title">
            <li>阈值名称</li>
            <li>阈值组名</li>
            <li class="no-r">阈值组编号</li>
        </ul>
        <ul class="u-info">
            <li class="li1">
                <span class="s1">正常测试电压</span>
            </li>
            <li class="li1">
                WF336
            </li>
            <li class="no-r li1">
                WF4564
            </li>
        </ul>
        <ul class="ul-title ">
            <li>状态</li>
            <li>阈值编号</li>
            <li class="no-r">排序号</li>
        </ul>
        <ul class="u-info">
            <li class="li1">
                <span class="s1">开启</span>
            </li>
            <li class="li1">
                <span class="s1">WF336</span>
            </li>
            <li class="li1 no-r">
                <span class="s1">WF336</span>
            </li>
        </ul>
        <div style="clear:both"></div>
        <ul class="ul-title">
            <li>计量单位 </li>
            <li>最小值(10k/m3)</li>
            <li class="no-r">最大值(10k/m3)</li>
        </ul>
        <ul class="u-info">
            <li class="li1">
                <span class="s1">兆欧</span>
            </li>
            <li class="li1" style="border-bottom:none">
                <div class="sel w230">
                    <input type="text" placeholder="最小值" style="margin-top:11px;width:100%">
                </div>
            </li>
            <li class="li1 no-r" style="border-bottom:none">
                <div class="sel w230">
                    <input type="text" placeholder="最大值" style="margin-top:11px;width:100%">
                </div>
            </li>
        </ul>
        <div style="clear:both"></div>
        <p class="qg-text" style="margin-top:15px;width:100%"><textarea rows="" cols="" placeholder="备注"></textarea></p>
    </div>
    <div class="modal-footer" style="text-align:center">
        <button class="btn btn-w140 btn-save-icon btn-h40" id="ddd"><em style="top:10px;left:35px"></em>确定</button>
    </div>

</div>
<!--新建-检测管段列表-->
<div id="add-jcgdlb" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width: 800px; height:500px; margin-left: -400px; top: 10%; display: none;">
    <input type="hidden" id="jcgdID" name="id" />
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
        <h3 class="PopupTitle" id="jcPopupTitle" style="text-align:center">新建检测管段</h3>
    </div>
    <div class="modal-body copy-tan" style="height:350px">
        <ul class="ul-title">
            <li>管道名称 <span class="ts">*</span></li>
            <li>检测管段名称 <span class="ts">*</span></li>
            <li style="margin-right:0">检测管段代号</li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none">
                <div class="sel w230">
                    <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                        <div class="dropdown-list cleanVal inspNotNull" style="float:left;width:100%">
                            <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                                <div class="checked" id="jcgdmc" style="width:91%;height:28px;" >
                                    <a href="javascript:void(0);">--请选择--</a>
                                </div>
                                <span class="down-span"></span>
                            </div>
                            <ul class="select select-min none" id="ISLineId" style="width: 233px;z-index: 9999">
                                
                            </ul>
                        </div>
                    </div>
                </div>
            </li>
            <li class="li1" style="border-bottom:none">
                <div class="sel w230">
                    <input type="text" class="cleanVal inspNotNull" placeholder="输入检测管段名称" id="inspSegmentName" style="margin-top:5px;width:100%">
                </div>
            </li>
            <li class="li1" style="border-bottom:none;margin-right:0">
                <div class="sel w230">
                    <input type="text" class="cleanVal" placeholder="输入检测管段代号" id="inspSegmentAbridge" style="margin-top:5px;width:100%">
                </div>
            </li>
        </ul>
        <ul class="ul-title">
            <li>起始场站阀室<span class="ts">*</span></li>
            <li>起始收发球装置<span class="ts">*</span></li>
            <li style="margin-right:0">终止场站阀室 <span class="ts">*</span></li>
        </ul>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none;">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list cleanVal inspNotNull" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="qsczfs" style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" id="FValRoom" style="width: 230px;z-index: 9999">
                        </ul>
                    </div>
                </div>
            </li>
            <li class="li1" style="border-bottom:none">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list cleanValclean inspNotNull" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" style="width:91%;height:28px;" id="fromPiggingStructureDiv">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" id="fromPiggingStructure" style="width: 230px;z-index: 9999">
                          <!--  <li onclick="getPiggingStructureByVR('id')"><a href="javascript:void(0);" id="lineAll" >请选择</a></li> -->
                        </ul>
                    </div>
                </div>
            </li>
            <li class="li1" style="border-bottom:none;margin-right:0">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list cleanVal inspNotNull" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" id="zdczfs"style="width:91%;height:28px;">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" id="TValRoom" style="width: 230px;z-index: 9999">

                        </ul>
                    </div>
                </div>
            </li>
        </ul>
        <ul class="ul-title">
            <li>终止收发球装置 <span class="ts">*</span></li>
        </ul>
        <div style="clear:both"></div>
        <ul class="u-info">
            <li class="li1" style="border-bottom:none;">
                <div class="sel w410 clearFix" style="margin-top:5px;width:100%;">
                    <div class="dropdown-list cleanValclean inspNotNull" style="float:left;width:100%">
                        <div class="drop-list drop-list-min" style="width:100%;height:28px;">
                            <div class="checked" style="width:91%;height:28px;" id="toPiggingStructureDiv">
                                <a href="javascript:void(0);">--请选择--</a>
                            </div>
                            <span class="down-span"></span>
                        </div>
                        <ul class="select select-min none" id="toPiggingStructure" style="width: 230px;z-index: 9999">
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
        <div id="inspSegmentListByLine"></div>
    </div>
    <div class="modal-footer" style="text-align:center">
        <button class="btn btn-w140 btn-save-icon btn-h40" id="addInspSegment"><em style="top:10px;left:35px"></em>确定</button>
    </div>

</div>


<script>



//初始化管道（下拉）
<%-- function getLine(){
	 resultAjax("<%=request.getContextPath()%>/settings/pipe/inspSegement/findPipeLine.json",
				"",function(data,obj){
		 			//console.log(data.result.model.lineData);
		 			var lineData=data.result.model.lineData;
		 			 for(var i in lineData){
		 				var lineId=lineData[i].ID_;
		 				var lineName=lineData[i].NAME_;
		 				 html += '<li ><a href="javascript:void(0);" id="'+ lineId +'">'+ lineName +'</a></li>';
		 			};
		 			$("").html(html);//管道
				},"JSON",$(this));
} --%>

</script>
</body>
</html>
